package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "bus_item_deposit")
public class BusItemDeposit implements Serializable {
    /**
     * 主键	UUID
     */
    @Id
    private Integer id;

    /**
     * 外键	
     */
    @Column(name = "item_id")
    private Integer itemId;

    /**
     * 	
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 投资状态 0-默认状态 1进行中 2锁定 3-结束
     */
    @Column(name = "invest_status")
    private Integer investStatus;

    /**
     * 投资金额
     */
    @Column(name = "invest_amount")
    private BigDecimal investAmount;

    /**
     * 计息时间	
     */
    @Column(name = "invest_deposit_time")
    private Date investDepositTime;

    /**
     * 计息金额
     */
    @Column(name = "invest_deposit_amount")
    private BigDecimal investDepositAmount;

    /**
     * 应收利息
     */
    @Column(name = "invest_deposit_interest")
    private BigDecimal investDepositInterest;

    /**
     * 未计息金额
     */
    @Column(name = "invest_undeposit_amount")
    private BigDecimal investUndepositAmount;

    /**
     * 未计息收益
     */
    @Column(name = "invest_undeposit_interest")
    private BigDecimal investUndepositInterest;

    /**
     * 新增时间	
     */
    private Date addtime;

    /**
     * 更新时间	
     */
    private Date updatetime;

    /**
     * 获取主键	UUID
     *
     * @return id - 主键	UUID
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置主键	UUID
     *
     * @param id 主键	UUID
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取外键	
     *
     * @return item_id - 外键	
     */
    public Integer getItemId() {
        return itemId;
    }

    /**
     * 设置外键	
     *
     * @param itemId 外键	
     */
    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    /**
     * 获取	
     *
     * @return user_id - 	
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置	
     *
     * @param userId 	
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取投资状态 0-默认状态 1进行中 2锁定 3-结束
     *
     * @return invest_status - 投资状态 0-默认状态 1进行中 2锁定 3-结束
     */
    public Integer getInvestStatus() {
        return investStatus;
    }

    /**
     * 设置投资状态 0-默认状态 1进行中 2锁定 3-结束
     *
     * @param investStatus 投资状态 0-默认状态 1进行中 2锁定 3-结束
     */
    public void setInvestStatus(Integer investStatus) {
        this.investStatus = investStatus;
    }

    /**
     * 获取投资金额
     *
     * @return invest_amount - 投资金额
     */
    public BigDecimal getInvestAmount() {
        return investAmount;
    }

    /**
     * 设置投资金额
     *
     * @param investAmount 投资金额
     */
    public void setInvestAmount(BigDecimal investAmount) {
        this.investAmount = investAmount;
    }

    /**
     * 获取计息时间	
     *
     * @return invest_deposit_time - 计息时间	
     */
    public Date getInvestDepositTime() {
        return investDepositTime;
    }

    /**
     * 设置计息时间	
     *
     * @param investDepositTime 计息时间	
     */
    public void setInvestDepositTime(Date investDepositTime) {
        this.investDepositTime = investDepositTime;
    }

    /**
     * 获取计息金额
     *
     * @return invest_deposit_amount - 计息金额
     */
    public BigDecimal getInvestDepositAmount() {
        return investDepositAmount;
    }

    /**
     * 设置计息金额
     *
     * @param investDepositAmount 计息金额
     */
    public void setInvestDepositAmount(BigDecimal investDepositAmount) {
        this.investDepositAmount = investDepositAmount;
    }

    /**
     * 获取应收利息
     *
     * @return invest_deposit_interest - 应收利息
     */
    public BigDecimal getInvestDepositInterest() {
        return investDepositInterest;
    }

    /**
     * 设置应收利息
     *
     * @param investDepositInterest 应收利息
     */
    public void setInvestDepositInterest(BigDecimal investDepositInterest) {
        this.investDepositInterest = investDepositInterest;
    }

    /**
     * 获取未计息金额
     *
     * @return invest_undeposit_amount - 未计息金额
     */
    public BigDecimal getInvestUndepositAmount() {
        return investUndepositAmount;
    }

    /**
     * 设置未计息金额
     *
     * @param investUndepositAmount 未计息金额
     */
    public void setInvestUndepositAmount(BigDecimal investUndepositAmount) {
        this.investUndepositAmount = investUndepositAmount;
    }

    /**
     * 获取未计息收益
     *
     * @return invest_undeposit_interest - 未计息收益
     */
    public BigDecimal getInvestUndepositInterest() {
        return investUndepositInterest;
    }

    /**
     * 设置未计息收益
     *
     * @param investUndepositInterest 未计息收益
     */
    public void setInvestUndepositInterest(BigDecimal investUndepositInterest) {
        this.investUndepositInterest = investUndepositInterest;
    }

    /**
     * 获取新增时间	
     *
     * @return addtime - 新增时间	
     */
    public Date getAddtime() {
        return addtime;
    }

    /**
     * 设置新增时间	
     *
     * @param addtime 新增时间	
     */
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    /**
     * 获取更新时间	
     *
     * @return updatetime - 更新时间	
     */
    public Date getUpdatetime() {
        return updatetime;
    }

    /**
     * 设置更新时间	
     *
     * @param updatetime 更新时间	
     */
    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}